[@com.header _title="角色管理"]
<link rel="stylesheet" href="${base}/res/components/bootstrapvalidator/dist/css/bootstrapValidator.css"/>
[/@com.header]
[@com.body]
<section class="content container-fluid">
    <div class="box box-info">
        <form class="form-horizontal" action="save" l-bv onsubmit="return false">
            <input type="hidden" name="id" value="${entity.id}" />
            <div class="box-header with-border">
                <button type="submit" class="btn btn-info"><i class="fa fa-save"></i> 保存</button>
                <a href="index" class="btn btn-default"><i class="fa fa-undo"></i> 返回</a>
            </div>
            <div class="box-body">
                <div class="form-group">
                    <label for="roleName" class="col-sm-2 control-label">角色名称</label>
                    <div class="col-sm-6">
                        <input class="form-control" name="roleName" id="roleName" placeholder="请输入角色名称" type="text"
                            required maxlength="20" value="${entity.roleName?html}"/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="notes" class="col-sm-2 control-label">备注</label>
                    <div class="col-sm-10">
                        <textarea class="form-control" name="notes" id="notes" placeholder="备注信息" >${entity.notes?html}</textarea>
                    </div>
                </div>
            </div>
        </form>
    </div>
</section>
[/@com.body]
<script type="text/javascript" src="${base}/res/components/bootstrapvalidator/dist/js/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="${base}/res/components/bootstrapvalidator/dist/js/language/zh_CN.js"></script>
